package com.coin.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 用户收藏交易市场
 * @TableName user_favorite_market
 */
@TableName(value ="user_favorite_market")
@Data
public class UserFavoriteMarket implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 交易对类型：1-币币交易；2-创新交易；
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    private Long user_id;

    /**
     * 交易对ID
     */
    @TableField(value = "market_id")
    private Long market_id;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}